using System.Collections.Generic;
using System.Web.Mvc;
using BL.Core.Domain.Customers;
using BL.Web.Framework;
using BL.Web.Framework.Mvc;
using Telerik.Web.Mvc;

namespace BL.Admin.Models.Customers
{
    public class CustomerListModel : BaseBLModel
    {
        public GridModel<CustomerModel> Customers { get; set; }

        [BLResourceDisplayName("Admin.Customers.Customers.List.CustomerRoles")]
        [AllowHtml]
        public List<CustomerRole> AvailableCustomerRoles { get; set; }

        [BLResourceDisplayName("Admin.Customers.Customers.List.CustomerRoles")]
        public int[] SearchCustomerRoleIds { get; set; }

        [BLResourceDisplayName("Admin.Customers.Customers.List.SearchEmail")]
        [AllowHtml]
        public string SearchEmail { get; set; }

        [BLResourceDisplayName("Admin.Customers.Customers.List.SearchUsername")]
        [AllowHtml]
        public string SearchUsername { get; set; }
        public bool UsernamesEnabled { get; set; }

        [BLResourceDisplayName("Admin.Customers.Customers.List.SearchFirstName")]
        [AllowHtml]
        public string SearchFirstName { get; set; }

        [BLResourceDisplayName("Admin.Customers.Customers.List.SearchLastName")]
        [AllowHtml]
        public string SearchLastName { get; set; }
    }
}